package com.hntest.entity;

import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 线下充值表
 * @author xu
 *
 */
public class RechargeOffline extends BaseAuditDomain{

	/**
	 * 
	 */
	private static final long serialVersionUID = -6595560154779452806L;
	private CompanyBankInfo bankInfo;//平台账号
	private String tradeCode;//交易号
	private Date tradTime;//交易时间
	private BigDecimal amount;//交易金额
	private String note;//备注
	
	public CompanyBankInfo getBankInfo() {
		return bankInfo;
	}
	public void setBankInfo(CompanyBankInfo bankInfo) {
		this.bankInfo = bankInfo;
	}
	public String getTradeCode() {
		return tradeCode;
	}
	public void setTradeCode(String tradeCode) {
		this.tradeCode = tradeCode;
	}
	public Date getTradTime() {
		return tradTime;
	}
	@DateTimeFormat(pattern="yyyy-MM-dd")
	public void setTradeTime(Date tradeTime) {
		this.tradTime=tradeTime;
	}
	public BigDecimal getAmount() {
		return amount;
	}
	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}
	public String getNote() {
		return note;
	}
	public void setNote(String note) {
		this.note = note;
	}
	
}
